package cn.consult.sys.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * (TWeGatewayConfig)表实体类
 *
 * @author makejava
 * @since 2024-04-09 09:13:14
 */
@SuppressWarnings("serial")
public class TWeGatewayConfig extends Model<TWeGatewayConfig> {
    //id主键
    private Long id;
    //网关名称
    private String gatewayName;
    //网关序列号
    private String gatewaySerialNumber;
    //网关ip
    private String gatewayIp;
    //网关端口
    private String gatewayPort;
    //账号
    private String account;
    //密码
    private String password;
    //心跳包内容
    private String heartBeatBody;
    //入网时间
    private String joinTime;
    //网关状态  1在线 2离线
    private Integer gatewayStatus;
    //创建人
    private String createBy;
    //创建时间
    private String createTime;
    //修改人
    private String updateBy;
    //修改时间
    private String updateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getGatewayName() {
        return gatewayName;
    }

    public void setGatewayName(String gatewayName) {
        this.gatewayName = gatewayName;
    }

    public String getGatewaySerialNumber() {
        return gatewaySerialNumber;
    }

    public void setGatewaySerialNumber(String gatewaySerialNumber) {
        this.gatewaySerialNumber = gatewaySerialNumber;
    }

    public String getGatewayIp() {
        return gatewayIp;
    }

    public void setGatewayIp(String gatewayIp) {
        this.gatewayIp = gatewayIp;
    }

    public String getGatewayPort() {
        return gatewayPort;
    }

    public void setGatewayPort(String gatewayPort) {
        this.gatewayPort = gatewayPort;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getHeartBeatBody() {
        return heartBeatBody;
    }

    public void setHeartBeatBody(String heartBeatBody) {
        this.heartBeatBody = heartBeatBody;
    }

    public String getJoinTime() {
        return joinTime;
    }

    public void setJoinTime(String joinTime) {
        this.joinTime = joinTime;
    }

    public Integer getGatewayStatus() {
        return gatewayStatus;
    }

    public void setGatewayStatus(Integer gatewayStatus) {
        this.gatewayStatus = gatewayStatus;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}

